<?php 

$s = '{"id":d99999999999999999999}';
var_dump(json_decode($s));
var_dump(json_last_error());